Hosts file in Apache keep changing for OS Linux Redhat [on hold]

Posted by jack f on Server Fault See other posts from Server Fault or by jack f
Published on 2013-07-03T06:11:16Z Indexed on 2013/07/03 11:07 UTC
Read the original article Hit count: 229

Filed under:
|

I have installed Apache server. Two clients ex client_1 and client_2. The operation that we are performing on client_1 reflecting to client_2. We have etc/hosts file in our software install location which is keep on changing for client_2 with client_1 IP address. If I correct the entries in hosts file to client_2 also in the next few minuets it is changing automatically to the client_1(if we start the client_1 service). Please explain the use of hosts file and where and when it will change by Apache service.

The hosts file in the location /etc/hosts/ for the both clients are same

=============================================

Do not remove the following line, or various programs

that require network functionality will fail.

127.0.0.1 localhost.localdomain localhost

Local LAN

190.0.0.1 client_1.Example.com client_1 190.0.0.2 client_2.Example.com client_2

HR LAN

10.1.74.2 client_1hr peer 10.1.74.3 client_2hr

ESP LAN

10.69.69.1 client_1esp 10.69.69.2 client_2esp

Any help will be appreciated.

Thanks in advance,

Jack F

© Server Fault or respective owner

Related posts about linux

Related posts about apache2